package cn.linran.org.service;

import cn.linran.basic.util.PageList;
import cn.linran.org.domain.Department;
import cn.linran.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService {
    List<Department> loadAll();
    Department selectById(Long id);
    void save(Department department);
    void remove(Long id);
    void update(Department department);
    PageList<Department> pageQuery(DepartmentQuery query);
}
